home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Popular Request
/
By Popular Request (Arsenal Computer)(SysOptics Distribution System).ISO
/
amiga3
/
ms-ad11.lha
/
FILE_ID.DIZ
< prev
next >
Wrap
Text File
|
1993-12-14
|
4KB
|
80 lines
ADD DESCRIPT V1.1
-----------------
Written by Ray Akey (AKA Heavy Metal)
Distributed by MetalSoft
Written for CNet Amiga v2.96+
Changes v1.1
-------------
* FILE_ID.DIZ support added - READ ENTIRE VERSION 1.1 CHANGES info!!
1. AddDescript has been made fully MULTI-PORT compatible and relies on
environment variables to control it's port activity. "ENV:" must be
assigned, as should "T:" if you do not specify a WORKDIR in
SYSDATA:ADDDESCRIPT.CFG.
2. Added FILE-ID.DIZ support.
Using the <DIZ> keyword overrides LONG, SHORT and EXT keywords.
AddDescript will decide whether to add to the SHORT or LONG
(response 0) description based on your "SHORTLEN" setting in the
configuration file. Any file_id.diz file containing more than SHORTLEN
characters will be treated as a LONG description, otherwise, it will be
added as a SHORT description.
Packer types and their associated decompression commands are located
in sysdata:AddDescript.cfg, as is the temporary WORKDIR setting. If
a "WORKDIR" is specified, AddDescript will use that directory as it's
processing directory for decompression, etc,..
If using the <DIZ> keyword, you MUST have "sysdata:AddDescript.cfg"
configured to your system specifics as noted in that file. A typical
command string in your xscript (ie. xlha2lha - sample enclosed in this
package) would be:
;Add FILE-ID.DIZ as descript if existent.
runback pfiles:adddescript DIZ UDBase0: {PATHF}
NOTE: To use in scripts converting to different compression types
(ie. xzip2lha), the {PATHF} in the above example should be
replaced with {NEWN} .
ALSO: for some reason CNet won't let AddDescript alter the SHORT
response unless AddDescript is RUNBACK'd. I'm sure there will be
a fix for this once I find out if CNet is indeed keeping a "LOCK"
on the short descriptions, which I hope Ken Pletzer will remove.
As long as RUNBACK is used for AddDescript when working with DIZ
files, the process is flawless. This doesn't seem to be a problem
unless the <DIZ> option is enabled. Also note that since
runback is used, your TRANSFORM will NOT be completed when CNet
says it is. You must give AddDescript time to process
FILE_ID.DIZ and add it to the short description. Go on about
your business, the process is flawless provided the same file is
not transformed twice at the SAME TIME (which is impossible if
CNet's "already transformed" protection is in working order).
What is it?
-----------
AddDescript is a program that will add a text file to the long description
of a file being adopted, transformed or uploaded.
It was mainly created at the request of Gregory Hopkins for the purpose
of using it in a .TIC-type transformation script.
It can be used at any time. See the NOTE below though.
NOTE: If ANY responses exist to the item the text is being added to, the
LAST existing response will be replaced with the text in the "DESC"
file. For this reason, AddDescript should be used IMMEDIATELY after
a file has been uploaded or adopted.
I'm sure this will be a VERY useful utility to many CNet BBS' involved
in networking. I make no claims that it will be easy to install as it
is a utility that only experienced CNet SysOps will use anyway.
For this reason, I present it as a gift to ALL CNET SYSOPS
as FREEWARE. Please let me know if you use this utility so I may continue
development.
Ray Akey - MetalSoft